package com.ca.project.Server.Modules.RepairInfo.Converter;

import com.ca.project.Server.Modules.RepairInfo.Context.AcceptRepairInfoContext;
import com.ca.project.Server.Modules.RepairInfo.Context.CreateRepairInfoContext;
import com.ca.project.Server.Modules.RepairInfo.Entity.RepairInfo;
import com.ca.project.Server.Modules.RepairInfo.PO.AcceptRepairInfoPO;
import com.ca.project.Server.Modules.RepairInfo.PO.CreateRepairInfoPO;
import org.mapstruct.Mapper;

/**
 * @PACKAGE_NAME: com.ca.project.Server.Modules.RepairInfo.Converter
 * @NAME: RepairInfoConverter
 * @USER: ASUS
 * @DATE: 3/1/2025
 * @TIME: 下午3:23
 **/
@Mapper(componentModel = "spring")
public interface RepairInfoConverter {
    CreateRepairInfoContext CreateRepairInfoPO2CreateRepairInfoContext(CreateRepairInfoPO createRepairInfoPO);

    AcceptRepairInfoContext AcceptRepairInfoPO2AcceptRepairInfoContext(AcceptRepairInfoPO acceptRepairInfoPO);

    RepairInfo CreateRepairInfoContext2RepairInfo(CreateRepairInfoContext createRepairInfoContext);
}
